package org.road0329.tools.proto_parse_tool.vo.xtkj;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;

public class MeterDataVO {
    private String commAddr;
    private Short item;
    private BigDecimal cumulant;
    private String status;
    private float voltage;
    private short valveStatus;
    private short batteryStatus;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date readTime;

    public String getCommAddr() {
        return commAddr;
    }

    public void setCommAddr(String commAddr) {
        this.commAddr = commAddr;
    }

    public Short getItem() {
        return item;
    }

    public void setItem(Short item) {
        this.item = item;
    }

    public BigDecimal getCumulant() {
        return cumulant;
    }

    public void setCumulant(BigDecimal cumulant) {
        this.cumulant = cumulant;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public float getVoltage() {
        return voltage;
    }

    public void setVoltage(float voltage) {
        this.voltage = voltage;
    }

    public short getValveStatus() {
        return valveStatus;
    }

    public void setValveStatus(short valveStatus) {
        this.valveStatus = valveStatus;
    }

    public short getBatteryStatus() {
        return batteryStatus;
    }

    public void setBatteryStatus(short batteryStatus) {
        this.batteryStatus = batteryStatus;
    }

    public Date getReadTime() {
        return readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }
}
